package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.SceneCommend;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ISceneCommendService {

    /**
     * 根据类型查询推荐景点
     *
     * @param type
     *
     * @return
     */
    List<SceneCommend> listCommend(Integer type);

    PageInfo<SceneCommend> query(QueryObject qo);

    void saveOrUpdate(SceneCommend entity);

    List<SceneCommend> listSceneCommend();
}
